//Set the icon item
setIcon(<mob_grinding_utils:absorption_hopper>)

//Set the title String
setTitle("Automated XP Farming")

//Set the description String
setDescription("Craft an Absorbsion Hopper. Place this first, then attach the XP Tank to it. Right click the hopper to change its settings. It will collect all mob drops, including XP, within its range!")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/row 5/example_crafted_xp_tank")

//Set the position
setPos(-280,96)

//Hide the connection lines, so I can have a pretty shape
//hideLines()

criteria = addCriteria("hopper", "triumph:player_crafted_item")
criteria.setItem(<mob_grinding_utils:absorption_hopper>)